/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package localization;

import java.util.Map;

/**
 *
 * @author KAV
 */
public class LocalizationResource {

    private short uid;// да, они есть и тут!
    private String language;
    private Map<String, String> strings;
    private String helpFileName;

    public LocalizationResource(short uid, String language, Map<String, String> strings,String helpFileName) {
        this.uid = uid;
        this.language = language;
        this.strings = strings;
        this.helpFileName=helpFileName;
    }

    public short getUid() {
        return uid;
    }

    public String getLanguage() {
        return language;
    }

    public String getString(String name) {
        // name- ключ, возвращает значение из карты по ключу
        return strings.get(name);
    }
    public String getHelpFileName(){
        return helpFileName;
    }
}
